package com.example.customtoast;

import android.app.Application;

/**
 * @author carlos
 * @date 2016/5/15
 */
public class MyApplication extends Application {

    private static MyApplication sInstance;

    @Override
    public void onCreate() {
        super.onCreate();
        sInstance = this;
    }

    public static MyApplication getAppContext() {
        return sInstance;
    }

}
